import request from "../utils/request"
import Qs from "qs"

export let cinemainfo_api = (params) => {
    return request.get('/celimainfo', { params })
}
export let filminfo_api = (params) => {
    return request.get('/getmovieinfo', { params })
}
export let cinemamovieinfo_api = (params) => {
    return request.get('/celimamovieinfo', { params })
}

//为啥get传的时候加{ }，因为get传的是一个对象，{params:params }
//而post传的是形参
export let getscreenroominfo_api = (params) => {
    return request.get('/getscreenroominfo', { params })
}
export let butticket_api = (params) => {
    return request.get('/butticket', { params })
}